package com.imagecollector.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.imagecollector.domain.entity.Task;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imagecollector.domain.vo.TaskVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 任务表 Mapper 接口
 * </p>
 *
 * @author wrf
 * @since 2024-08-01
 */
public interface AppletTaskMapper extends BaseMapper<Task> {

    IPage<TaskVo> selectByPage(IPage<TaskVo> taskVoPage, @Param("districtId") Integer districtId);

    IPage<TaskVo> selectMyTaskPage(IPage<TaskVo> taskVoPage, @Param("districtId")Integer districtId, @Param("userId")Integer userId, @Param("status")Integer status);
}
